import unittest
def my_sum(a,b):
    return a+b

def setUpModule():
    print("setUpModule方法被执行了")
def tearDownModule():
    print("tearDownModule方法被执行了")
class My_test_01(unittest.TestCase):
    @classmethod
    def setUpClass(cls):
        print("setUpClass方法被执行了")
    @classmethod
    def tearDownClass(cls):
        print("tearDownClass方法被执行了")
    def test_001(self):
        print(my_sum(5,6))
    def test_002(self):
        print(my_sum(5,-6))
class My_test_02(unittest.TestCase):
    @classmethod
    def setUpClass(cls):
        print("setUpClass方法被执行了")
    @classmethod
    def tearDownClass(cls):
        print("tearDownClass方法被执行了")
    def test_001(self):
        print(my_sum(5,6))
    def test_002(self):
        print(my_sum(5,-6))


